﻿using System;

namespace TSharp.Core.Asm
{
    /// <summary>
    /// 扩展标记和扩展管理类没有从指定基类继承
    /// <para>2011/3/4</para>
    /// 	<para>TANGJINGBO</para>
    /// 	<author>tangjingbo</author>
    /// </summary>
    public class ExtensionException : Exception
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="ExtensionException"/> class.
        /// </summary>
        /// <param name="msg">The MSG.</param>
        public ExtensionException(string msg) : base(msg)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="ExtensionException"/> class.
        /// </summary>
        /// <param name="msg">The MSG.</param>
        /// <param name="ex">The ex.</param>
        public ExtensionException(string msg, Exception ex)
            : base(msg, ex)
        {
        }
    }
}